package com.zucc.service;

import com.zucc.controller.req.TopicAddReq;
import com.zucc.controller.req.TopicModifyReq;
import com.zucc.controller.req.TopicSearchReq;
import com.zucc.controller.resp.TopicResp;
import com.zucc.service.base.PageData;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 4:52 下午
 */
public interface TopicService {
    void add(TopicAddReq req);

    void modify(TopicModifyReq req);

    void deleteOne(Long id);

    PageData<TopicResp> page(TopicSearchReq req);
}
